//
//  JQDiscoverController.swift
//  sinaWeibo
//
//  Created by maoge on 16/4/16.
//  Copyright © 2016年 maoge. All rights reserved.
//

import UIKit

class JQDiscoverController: JQVisitorController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if userLogin == false {
            //设置访客视图显示的内容
            vistorView.setVisitorInfo("visitordiscover_image_message", message: "我是首页世纪东方聚少离多会计分录时间段里疯狂聚少离多会计分录时")
            
            return
        }

        let searchView = JQSearchView.searchView()
        
        searchView.frame = CGRectMake(0, 0, UIScreen.mainScreen().bounds.size.width, 35)
        
        navigationItem.titleView = searchView
    }

}
